package com.vframework.config.annotation.api;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.ResponseBody;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
//@Controller
@ResponseBody
//@RequestMapping("/api")
public @interface ApiRestController {
    @AliasFor(annotation = Component.class)
    String value() default "";
}
